# `source` this file to load all env variables.
# An environment file based on the `config/.env` template must be present in
# `../.env`.
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

VENV_DIR="${DIR}/../venv"
echo "Loading virtual environment in ${VENV_DIR}"

# Load virtual env. This works if venv is installed using:
# `python3 -m venv venv` in the parent directory.
source "${VENV_DIR}/bin/activate"

# Additional environment variables.
source "${DIR}/../.env"
